import {XingHuoModel} from "./xinghuo/XingHuoModel";

export class AiModelFactory {

    static models = {};

    static create(modelName, options) {
        let model = this.models[modelName];
        if (model) return model;

        if (modelName === "XingHuo") {
        model = new XingHuoModel(options);
        }

        if (model) {
            this.models[modelName] = model;
        }
        return model;
    }
}